﻿// MT530




using Little.Soldier.SWIFT;
using Little.Soldier.SWIFT.Definition;
using System.Collections.Generic;
using System.ComponentModel;

namespace Little.Soldier.SWIFT.Messages.Category5
{
  public class MT530 : SwiftMessage
  {
    private static SwiftMessageDefinition MessageDefinition;
    private static SwiftTagSequenceDefinition U0002;
    private static SwiftTagDefinition U0003;
    private static SwiftTagSubItemDefinition U0004;
    private static SwiftTagDefinition U0005;
    private static SwiftTagSubItemDefinition U0006;
    private static SwiftTagSubItemDefinition U0007;
    private static SwiftTagDefinition U0008;
    private static SwiftTagSubItemDefinition U000E;
    private static SwiftTagSubItemDefinition U000F;
    private static SwiftTagSubItemDefinition U0010;
    private static SwiftTagChoiceDefinition U0011;
    private static SwiftTagDefinition U0012;
    private static SwiftTagSubItemDefinition U0013;
    private static SwiftTagSubItemDefinition U0014;
    private static SwiftTagDefinition U0015;
    private static SwiftTagSubItemDefinition U0016;
    private static SwiftTagSubItemDefinition U0017;
    private static SwiftTagSubItemDefinition U0018;
    private static SwiftTagSubItemDefinition U0019;
    private static SwiftTagDefinition U001A;
    private static SwiftTagSubItemDefinition U001B;
    private static SwiftTagSubItemDefinition U001C;
    private static SwiftTagSubItemDefinition U001D;
    private static SwiftTagSubItemDefinition U001E;
    private static SwiftTagSubItemDefinition U001F;
    private static SwiftTagSubItemDefinition U007F;
    private static SwiftTagSubItemDefinition U0080;
    private static SwiftTagSubItemDefinition U0081;
    private static SwiftTagSubItemDefinition U0082;
    private static SwiftTagChoiceDefinition U0083;
    private static SwiftTagDefinition U0084;
    private static SwiftTagSubItemDefinition U0086;
    private static SwiftTagSubItemDefinition U0087;
    private static SwiftTagDefinition U0088;
    private static SwiftTagSubItemDefinition U0089;
    private static SwiftTagSubItemDefinition U008A;
    private static SwiftTagSubItemDefinition U008B;
    private static SwiftTagChoiceDefinition U008C;
    private static SwiftTagDefinition U008D;
    private static SwiftTagSubItemDefinition U008E;
    private static SwiftTagSubItemDefinition U008F;
    private static SwiftTagDefinition U0090;
    private static SwiftTagSubItemDefinition U0091;
    private static SwiftTagSubItemDefinition U0092;
    private static SwiftTagSubItemDefinition U0093;
    private static SwiftTagSubItemDefinition U0094;
    private static SwiftTagDefinition U0095;
    private static SwiftTagSubItemDefinition U0096;
    private static SwiftTagSequenceDefinition U0097;
    private static SwiftTagDefinition U0098;
    private static SwiftTagSubItemDefinition U0099;
    private static SwiftTagDefinition U009A;
    private static SwiftTagSubItemDefinition U009B;
    private static SwiftTagSubItemDefinition U009C;
    private static SwiftTagDefinition U009D;
    private static SwiftTagSubItemDefinition U009E;
    private static SwiftTagSubItemDefinition U009F;
    private static SwiftTagSubItemDefinition U0001U0002;
    private static SwiftTagSequenceDefinition U0002U0002;
    private static SwiftTagDefinition U0003U0002;
    private static SwiftTagSubItemDefinition U0004U0002;
    private static SwiftTagDefinition U0005U0002;
    private static SwiftTagSubItemDefinition U0006U0002;
    private static SwiftTagSubItemDefinition U0007U0002;
    private static SwiftTagSubItemDefinition U0008U0002;
    private static SwiftTagChoiceDefinition U000EU0002;
    private static SwiftTagDefinition U000FU0002;
    private static SwiftTagSubItemDefinition U0010U0002;
    private static SwiftTagSubItemDefinition U0011U0002;
    private static SwiftTagDefinition U0012U0002;
    private static SwiftTagSubItemDefinition U0013U0002;
    private static SwiftTagSubItemDefinition U0014U0002;
    private static SwiftTagSubItemDefinition U0015U0002;
    private static SwiftTagDefinition U0016U0002;
    private static SwiftTagSubItemDefinition U0017U0002;
    private static SwiftTagSubItemDefinition U0018U0002;
    private static SwiftTagDefinition U0019U0002;
    private static SwiftTagSubItemDefinition U001AU0002;
    private static SwiftTagDefinition U001BU0002;
    private static SwiftTagSubItemDefinition U001CU0002;
    private static SwiftTagSequenceDefinition U001DU0002;
    private static SwiftTagDefinition U001EU0002;
    private static SwiftTagSubItemDefinition U001FU0002;
    private static SwiftTagDefinition U007FU0002;
    private static SwiftTagSubItemDefinition U0080U0002;
    private static SwiftTagSubItemDefinition U0081U0002;
    private static SwiftTagDefinition U0082U0002;
    private static SwiftTagSubItemDefinition U0083U0002;
    private static SwiftTagSubItemDefinition U0084U0002;
    private static SwiftTagSubItemDefinition U0086U0002;
    private static SwiftTagChoiceDefinition U0087U0002;
    private static SwiftTagDefinition U0088U0002;
    private static SwiftTagSubItemDefinition U0089U0002;
    private static SwiftTagSubItemDefinition U008AU0002;
    private static SwiftTagDefinition U008BU0002;
    private static SwiftTagSubItemDefinition U008CU0002;
    private static SwiftTagSubItemDefinition U008DU0002;
    private static SwiftTagSubItemDefinition U008EU0002;
    private static SwiftTagSubItemDefinition U008FU0002;
    private static SwiftTagDefinition U0090U0002;
    private static SwiftTagSubItemDefinition U0091U0002;
    private static SwiftTagSubItemDefinition U0092U0002;
    private static SwiftTagSubItemDefinition U0093U0002;
    private static SwiftTagDefinition U0094U0002;
    private static SwiftTagSubItemDefinition U0095U0002;
    private static SwiftTagSubItemDefinition U0096U0002;
    private static SwiftTagSubItemDefinition U0097U0002;
    private static SwiftTagSubItemDefinition U0098U0002;
    private static SwiftTagChoiceDefinition U0099U0002;
    private static SwiftTagDefinition U009AU0002;
    private static SwiftTagSubItemDefinition U009BU0002;
    private static SwiftTagSubItemDefinition U009CU0002;
    private static SwiftTagDefinition U009DU0002;
    private static SwiftTagSubItemDefinition U009EU0002;
    private static SwiftTagSubItemDefinition U009FU0002;
    private static SwiftTagSubItemDefinition U0001U0003;
    private static SwiftTagSubItemDefinition U0002U0003;
    private static SwiftTagChoiceDefinition U0003U0003;
    private static SwiftTagDefinition U0004U0003;
    private static SwiftTagSubItemDefinition U0005U0003;
    private static SwiftTagSubItemDefinition U0006U0003;
    private static SwiftTagDefinition U0007U0003;
    private static SwiftTagSubItemDefinition U0008U0003;
    private static SwiftTagSubItemDefinition U000EU0003;
    private static SwiftTagDefinition U000FU0003;
    private static SwiftTagSubItemDefinition U0010U0003;
    private static SwiftTagSubItemDefinition U0011U0003;
    private static SwiftTagSubItemDefinition U0012U0003;
    private static SwiftTagDefinition U0013U0003;
    private static SwiftTagSubItemDefinition U0014U0003;

    [Description("General Information")]
    public MT530.SequenceAClass SequenceA
    {
      get
      {
        return new MT530.SequenceAClass((SwiftElement) this, 0, false);
      }
    }

    [Description("Request Details")]
    public MT530.SequenceBClass[] SequenceB
    {
      get
      {
        int index = -1;
        List<MT530.SequenceBClass> list = new List<MT530.SequenceBClass>();
        int count;
        do
        {
          ++index;
          MT530.SequenceBClass sequenceBclass = new MT530.SequenceBClass((SwiftElement) this, index, false);
          count = this.ListTags((SwiftElement) sequenceBclass).Count;
          if (count > 0)
            list.Add(sequenceBclass);
        }
        while (count > 0);
        return list.ToArray();
      }
    }

    [Description("Additional Information")]
    public MT530.SequenceCClass[] SequenceC
    {
      get
      {
        int index = -1;
        List<MT530.SequenceCClass> list = new List<MT530.SequenceCClass>();
        int count;
        do
        {
          ++index;
          MT530.SequenceCClass sequenceCclass = new MT530.SequenceCClass((SwiftElement) this, index, false);
          count = this.ListTags((SwiftElement) sequenceCclass).Count;
          if (count > 0)
            list.Add(sequenceCclass);
        }
        while (count > 0);
        return list.ToArray();
      }
    }

    public MT530()
      : base(true)
    {
    }

    public MT530(SwiftMessage message)
      : base(message)
    {
    }

    public MT530.SequenceBClass AddSequenceB()
    {
      return new MT530.SequenceBClass((SwiftElement) this, this.SequenceB.Length, true);
    }

    public void RemoveSequenceB(MT530.SequenceBClass sequence)
    {
      foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
        this.RemoveTag(tag);
    }

    public MT530.SequenceCClass AddSequenceC()
    {
      return new MT530.SequenceCClass((SwiftElement) this, this.SequenceC.Length, true);
    }

    public void RemoveSequenceC(MT530.SequenceCClass sequence)
    {
      foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
        this.RemoveTag(tag);
    }

    internal override SwiftMessageDefinition MsgDefinition()
    {
      return MT530.MessageDefinition;
    }

    protected override void InitSwiftMessageDefinition()
    {
      MT530.MessageDefinition = new SwiftMessageDefinition("MT530", "Transaction Processing Command");
      MT530.U0002 = new SwiftTagSequenceDefinition("SequenceA", "General Information");
      MT530.U0003 = new SwiftTagDefinition("StartOfBlock_A_16R", "Start of Block");
      MT530.U0003.TagName = ":16R:GENL";
      MT530.U0004 = new SwiftTagSubItemDefinition("StartOfBlock", "Start of Block");
      MT530.U0004.Mandatory = false;
      MT530.U0003.Elements.Add((SwiftDefinitionElement) MT530.U0004);
      MT530.U0002.Elements.Add((SwiftDefinitionElement) MT530.U0003);
      MT530.U0005 = new SwiftTagDefinition("Reference_A_20C", "Reference: Sender’s Message Reference");
      MT530.U0005.TagName = ":20C::";
      MT530.U0006 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT530.U0005.Elements.Add((SwiftDefinitionElement) MT530.U0006);
      MT530.U0007 = new SwiftTagSubItemDefinition("Reference", "Reference");
      MT530.U0005.Elements.Add((SwiftDefinitionElement) MT530.U0007);
      MT530.U0002.Elements.Add((SwiftDefinitionElement) MT530.U0005);
      MT530.U0008 = new SwiftTagDefinition("FunctionOfTheMessage_A_23G", "Function Of The Message");
      MT530.U0008.TagName = ":23G:";
      MT530.U000E = new SwiftTagSubItemDefinition("Function", "Function");
      MT530.U0008.Elements.Add((SwiftDefinitionElement) MT530.U000E);
      MT530.U000F = new SwiftTagSubItemDefinition("Subfunction", "Sub Function");
      MT530.U000F.Mandatory = false;
      MT530.U0010 = new SwiftTagSubItemDefinition("Subfunction_1", "SubFunction");
      MT530.U000F.Elements.Add((SwiftDefinitionElement) MT530.U0010);
      MT530.U0008.Elements.Add((SwiftDefinitionElement) MT530.U000F);
      MT530.U0002.Elements.Add((SwiftDefinitionElement) MT530.U0008);
      MT530.U0011 = new SwiftTagChoiceDefinition("Choice", "");
      MT530.U0011.Mandatory = false;
      MT530.U0011.Multiple = true;
      MT530.U0012 = new SwiftTagDefinition("Date_A_98A", "Date/Time");
      MT530.U0012.TagName = ":98A::";
      MT530.U0013 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT530.U0012.Elements.Add((SwiftDefinitionElement) MT530.U0013);
      MT530.U0014 = new SwiftTagSubItemDefinition("Date", "Date");
      MT530.U0012.Elements.Add((SwiftDefinitionElement) MT530.U0014);
      MT530.U0011.Elements.Add((SwiftDefinitionElement) MT530.U0012);
      MT530.U0015 = new SwiftTagDefinition("DateTime_A_98C", "Date/Time");
      MT530.U0015.TagName = ":98C::";
      MT530.U0016 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT530.U0015.Elements.Add((SwiftDefinitionElement) MT530.U0016);
      MT530.U0017 = new SwiftTagSubItemDefinition("DateTime", "Date Time");
      MT530.U0018 = new SwiftTagSubItemDefinition("Date", "Date");
      MT530.U0017.Elements.Add((SwiftDefinitionElement) MT530.U0018);
      MT530.U0019 = new SwiftTagSubItemDefinition("Time", "Time");
      MT530.U0017.Elements.Add((SwiftDefinitionElement) MT530.U0019);
      MT530.U0015.Elements.Add((SwiftDefinitionElement) MT530.U0017);
      MT530.U0011.Elements.Add((SwiftDefinitionElement) MT530.U0015);
      MT530.U001A = new SwiftTagDefinition("DateTime_A_98E", "Trade Date/Time");
      MT530.U001A.TagName = ":98E::";
      MT530.U001B = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT530.U001A.Elements.Add((SwiftDefinitionElement) MT530.U001B);
      MT530.U001C = new SwiftTagSubItemDefinition("DateTimeDecimalsAndUTCIndicator", "Trade Date/Time");
      MT530.U001D = new SwiftTagSubItemDefinition("DateTimeDecimals", "Trade Date/Time");
      MT530.U001E = new SwiftTagSubItemDefinition("DateTime", "Date\\Time");
      MT530.U001F = new SwiftTagSubItemDefinition("Date", "Date");
      MT530.U001E.Elements.Add((SwiftDefinitionElement) MT530.U001F);
      MT530.U007F = new SwiftTagSubItemDefinition("Time", "Time");
      MT530.U001E.Elements.Add((SwiftDefinitionElement) MT530.U007F);
      MT530.U001D.Elements.Add((SwiftDefinitionElement) MT530.U001E);
      MT530.U0080 = new SwiftTagSubItemDefinition("Decimals", "Time");
      MT530.U0080.Mandatory = false;
      MT530.U001D.Elements.Add((SwiftDefinitionElement) MT530.U0080);
      MT530.U001C.Elements.Add((SwiftDefinitionElement) MT530.U001D);
      MT530.U0081 = new SwiftTagSubItemDefinition("UTCIndicatorRecord", "Date\\Time");
      MT530.U0081.Mandatory = false;
      MT530.U0082 = new SwiftTagSubItemDefinition("UTCIndicator", "Indicator");
      MT530.U0081.Elements.Add((SwiftDefinitionElement) MT530.U0082);
      MT530.U001C.Elements.Add((SwiftDefinitionElement) MT530.U0081);
      MT530.U001A.Elements.Add((SwiftDefinitionElement) MT530.U001C);
      MT530.U0011.Elements.Add((SwiftDefinitionElement) MT530.U001A);
      MT530.U0002.Elements.Add((SwiftDefinitionElement) MT530.U0011);
      MT530.U0083 = new SwiftTagChoiceDefinition("Choice", "");
      MT530.U0083.Mandatory = false;
      MT530.U0083.Multiple = true;
      MT530.U0084 = new SwiftTagDefinition("Party_A_95P", "Account Owner");
      MT530.U0084.TagName = ":95P::";
      MT530.U0086 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT530.U0084.Elements.Add((SwiftDefinitionElement) MT530.U0086);
      MT530.U0087 = new SwiftTagSubItemDefinition("BankIdentifier", "Bank Identifier Code");
      MT530.U0084.Elements.Add((SwiftDefinitionElement) MT530.U0087);
      MT530.U0083.Elements.Add((SwiftDefinitionElement) MT530.U0084);
      MT530.U0088 = new SwiftTagDefinition("Party_A_95R", "Account Owner");
      MT530.U0088.TagName = ":95R::";
      MT530.U0089 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT530.U0088.Elements.Add((SwiftDefinitionElement) MT530.U0089);
      MT530.U008A = new SwiftTagSubItemDefinition("DataSourceSchemeType", "Data Source Scheme with a maximum of 8 characters");
      MT530.U0088.Elements.Add((SwiftDefinitionElement) MT530.U008A);
      MT530.U008B = new SwiftTagSubItemDefinition("ProprietaryCodeType", "Proprietary Code Type");
      MT530.U0088.Elements.Add((SwiftDefinitionElement) MT530.U008B);
      MT530.U0083.Elements.Add((SwiftDefinitionElement) MT530.U0088);
      MT530.U0002.Elements.Add((SwiftDefinitionElement) MT530.U0083);
      MT530.U008C = new SwiftTagChoiceDefinition("Choice", "");
      MT530.U008C.Multiple = true;
      MT530.U008D = new SwiftTagDefinition("Account_A_97A", "Account");
      MT530.U008D.TagName = ":97A::";
      MT530.U008E = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT530.U008D.Elements.Add((SwiftDefinitionElement) MT530.U008E);
      MT530.U008F = new SwiftTagSubItemDefinition("AccountNumber", "AccountNumber");
      MT530.U008D.Elements.Add((SwiftDefinitionElement) MT530.U008F);
      MT530.U008C.Elements.Add((SwiftDefinitionElement) MT530.U008D);
      MT530.U0090 = new SwiftTagDefinition("Account_A_97B", "Account");
      MT530.U0090.TagName = ":97B::";
      MT530.U0091 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT530.U0090.Elements.Add((SwiftDefinitionElement) MT530.U0091);
      MT530.U0092 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT530.U0090.Elements.Add((SwiftDefinitionElement) MT530.U0092);
      MT530.U0093 = new SwiftTagSubItemDefinition("AccountTypeCode", "Account Type Code");
      MT530.U0090.Elements.Add((SwiftDefinitionElement) MT530.U0093);
      MT530.U0094 = new SwiftTagSubItemDefinition("AccountNumber", "Account Number");
      MT530.U0090.Elements.Add((SwiftDefinitionElement) MT530.U0094);
      MT530.U008C.Elements.Add((SwiftDefinitionElement) MT530.U0090);
      MT530.U0002.Elements.Add((SwiftDefinitionElement) MT530.U008C);
      MT530.U0095 = new SwiftTagDefinition("EndOfBlock_A_16S", "End of Block");
      MT530.U0095.TagName = ":16S:GENL";
      MT530.U0096 = new SwiftTagSubItemDefinition("EndOfBlock", "End of Block");
      MT530.U0096.Mandatory = false;
      MT530.U0095.Elements.Add((SwiftDefinitionElement) MT530.U0096);
      MT530.U0002.Elements.Add((SwiftDefinitionElement) MT530.U0095);
      MT530.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT530.U0002);
      MT530.U0097 = new SwiftTagSequenceDefinition("SequenceB", "Request Details");
      MT530.U0097.Multiple = true;
      MT530.U0098 = new SwiftTagDefinition("StartOfBlock_B_16R", "Start Of Block");
      MT530.U0098.TagName = ":16R:REQD";
      MT530.U0099 = new SwiftTagSubItemDefinition("StartOfBlock", "Start Of Block");
      MT530.U0099.Mandatory = false;
      MT530.U0098.Elements.Add((SwiftDefinitionElement) MT530.U0099);
      MT530.U0097.Elements.Add((SwiftDefinitionElement) MT530.U0098);
      MT530.U009A = new SwiftTagDefinition("Reference_B_20C", "Related Reference");
      MT530.U009A.TagName = ":20C::";
      MT530.U009A.Multiple = true;
      MT530.U009B = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT530.U009A.Elements.Add((SwiftDefinitionElement) MT530.U009B);
      MT530.U009C = new SwiftTagSubItemDefinition("Reference", "Reference");
      MT530.U009A.Elements.Add((SwiftDefinitionElement) MT530.U009C);
      MT530.U0097.Elements.Add((SwiftDefinitionElement) MT530.U009A);
      MT530.U009D = new SwiftTagDefinition("Indicator_B_22F", "Indicator");
      MT530.U009D.TagName = ":22F::";
      MT530.U009D.Multiple = true;
      MT530.U009E = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT530.U009D.Elements.Add((SwiftDefinitionElement) MT530.U009E);
      MT530.U009F = new SwiftTagSubItemDefinition("DataSource", "Data Source");
      MT530.U009D.Elements.Add((SwiftDefinitionElement) MT530.U009F);
      MT530.U0001U0002 = new SwiftTagSubItemDefinition("Indicator", "Indicator");
      MT530.U009D.Elements.Add((SwiftDefinitionElement) MT530.U0001U0002);
      MT530.U0097.Elements.Add((SwiftDefinitionElement) MT530.U009D);
      MT530.U0002U0002 = new SwiftTagSequenceDefinition("SequenceB1", "Linkages");
      MT530.U0002U0002.Mandatory = false;
      MT530.U0002U0002.Multiple = true;
      MT530.U0003U0002 = new SwiftTagDefinition("StartOfBlock_B1_16R", "Start Of Block");
      MT530.U0003U0002.TagName = ":16R:LINK";
      MT530.U0004U0002 = new SwiftTagSubItemDefinition("StartOfBlock", "Start Of Block");
      MT530.U0004U0002.Mandatory = false;
      MT530.U0003U0002.Elements.Add((SwiftDefinitionElement) MT530.U0004U0002);
      MT530.U0002U0002.Elements.Add((SwiftDefinitionElement) MT530.U0003U0002);
      MT530.U0005U0002 = new SwiftTagDefinition("Indicator_B1_22F", "Indicato : Linkage Type Indicator");
      MT530.U0005U0002.TagName = ":22F::";
      MT530.U0005U0002.Mandatory = false;
      MT530.U0006U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT530.U0005U0002.Elements.Add((SwiftDefinitionElement) MT530.U0006U0002);
      MT530.U0007U0002 = new SwiftTagSubItemDefinition("DataSource", "Data Source");
      MT530.U0005U0002.Elements.Add((SwiftDefinitionElement) MT530.U0007U0002);
      MT530.U0008U0002 = new SwiftTagSubItemDefinition("Indicator", "Indicator");
      MT530.U0005U0002.Elements.Add((SwiftDefinitionElement) MT530.U0008U0002);
      MT530.U0002U0002.Elements.Add((SwiftDefinitionElement) MT530.U0005U0002);
      MT530.U000EU0002 = new SwiftTagChoiceDefinition("Choice", "");
      MT530.U000EU0002.Mandatory = false;
      MT530.U000EU0002.Multiple = true;
      MT530.U000FU0002 = new SwiftTagDefinition("NumberIdentification_B1_13A", "Linked Transaction");
      MT530.U000FU0002.TagName = ":13A::";
      MT530.U0010U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT530.U000FU0002.Elements.Add((SwiftDefinitionElement) MT530.U0010U0002);
      MT530.U0011U0002 = new SwiftTagSubItemDefinition("NumberId", "Number Id");
      MT530.U000FU0002.Elements.Add((SwiftDefinitionElement) MT530.U0011U0002);
      MT530.U000EU0002.Elements.Add((SwiftDefinitionElement) MT530.U000FU0002);
      MT530.U0012U0002 = new SwiftTagDefinition("NumberIdentification_B1_13B", "Linked Transaction");
      MT530.U0012U0002.TagName = ":13B::";
      MT530.U0013U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT530.U0012U0002.Elements.Add((SwiftDefinitionElement) MT530.U0013U0002);
      MT530.U0014U0002 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT530.U0012U0002.Elements.Add((SwiftDefinitionElement) MT530.U0014U0002);
      MT530.U0015U0002 = new SwiftTagSubItemDefinition("Number_13B", "Number");
      MT530.U0012U0002.Elements.Add((SwiftDefinitionElement) MT530.U0015U0002);
      MT530.U000EU0002.Elements.Add((SwiftDefinitionElement) MT530.U0012U0002);
      MT530.U0002U0002.Elements.Add((SwiftDefinitionElement) MT530.U000EU0002);
      MT530.U0016U0002 = new SwiftTagDefinition("Reference_B1_20C", "Related Reference");
      MT530.U0016U0002.TagName = ":20C::";
      MT530.U0017U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT530.U0016U0002.Elements.Add((SwiftDefinitionElement) MT530.U0017U0002);
      MT530.U0018U0002 = new SwiftTagSubItemDefinition("Reference", "Reference");
      MT530.U0016U0002.Elements.Add((SwiftDefinitionElement) MT530.U0018U0002);
      MT530.U0002U0002.Elements.Add((SwiftDefinitionElement) MT530.U0016U0002);
      MT530.U0019U0002 = new SwiftTagDefinition("EndOfBlock_B1_16S", "End of Block");
      MT530.U0019U0002.TagName = ":16S:LINK";
      MT530.U001AU0002 = new SwiftTagSubItemDefinition("EndOfBlock", "End of Block");
      MT530.U001AU0002.Mandatory = false;
      MT530.U0019U0002.Elements.Add((SwiftDefinitionElement) MT530.U001AU0002);
      MT530.U0002U0002.Elements.Add((SwiftDefinitionElement) MT530.U0019U0002);
      MT530.U0097.Elements.Add((SwiftDefinitionElement) MT530.U0002U0002);
      MT530.U001BU0002 = new SwiftTagDefinition("EndOfBlock_B_16S", "End of Block");
      MT530.U001BU0002.TagName = ":16S:REQD";
      MT530.U001CU0002 = new SwiftTagSubItemDefinition("EndOfBlock", "End of Block");
      MT530.U001CU0002.Mandatory = false;
      MT530.U001BU0002.Elements.Add((SwiftDefinitionElement) MT530.U001CU0002);
      MT530.U0097.Elements.Add((SwiftDefinitionElement) MT530.U001BU0002);
      MT530.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT530.U0097);
      MT530.U001DU0002 = new SwiftTagSequenceDefinition("SequenceC", "Additional Information");
      MT530.U001DU0002.Mandatory = false;
      MT530.U001DU0002.Multiple = true;
      MT530.U001EU0002 = new SwiftTagDefinition("StartOfBlock_C_16R", "Start of Block");
      MT530.U001EU0002.TagName = ":16R:ADDINFO";
      MT530.U001FU0002 = new SwiftTagSubItemDefinition("StartOfBlock", "Start of Block");
      MT530.U001FU0002.Mandatory = false;
      MT530.U001EU0002.Elements.Add((SwiftDefinitionElement) MT530.U001FU0002);
      MT530.U001DU0002.Elements.Add((SwiftDefinitionElement) MT530.U001EU0002);
      MT530.U007FU0002 = new SwiftTagDefinition("Reference_C_20C", "Account Owner Transaction Identification");
      MT530.U007FU0002.TagName = ":20C::";
      MT530.U0080U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT530.U007FU0002.Elements.Add((SwiftDefinitionElement) MT530.U0080U0002);
      MT530.U0081U0002 = new SwiftTagSubItemDefinition("Reference", "Reference");
      MT530.U007FU0002.Elements.Add((SwiftDefinitionElement) MT530.U0081U0002);
      MT530.U001DU0002.Elements.Add((SwiftDefinitionElement) MT530.U007FU0002);
      MT530.U0082U0002 = new SwiftTagDefinition("TypeOfFinancialInstrument_C_12A", "Type Of Financial Instrument");
      MT530.U0082U0002.TagName = ":12A::";
      MT530.U0082U0002.Mandatory = false;
      MT530.U0083U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT530.U0082U0002.Elements.Add((SwiftDefinitionElement) MT530.U0083U0002);
      MT530.U0084U0002 = new SwiftTagSubItemDefinition("DataSource", "Data Source");
      MT530.U0082U0002.Elements.Add((SwiftDefinitionElement) MT530.U0084U0002);
      MT530.U0086U0002 = new SwiftTagSubItemDefinition("InstrumentCodeOrDescription", "Instrument Code  Or Description");
      MT530.U0082U0002.Elements.Add((SwiftDefinitionElement) MT530.U0086U0002);
      MT530.U001DU0002.Elements.Add((SwiftDefinitionElement) MT530.U0082U0002);
      MT530.U0087U0002 = new SwiftTagChoiceDefinition("Choice", "");
      MT530.U0087U0002.Mandatory = false;
      MT530.U0087U0002.Multiple = true;
      MT530.U0088U0002 = new SwiftTagDefinition("Account_C_97A", "Account");
      MT530.U0088U0002.TagName = ":97A::";
      MT530.U0089U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT530.U0088U0002.Elements.Add((SwiftDefinitionElement) MT530.U0089U0002);
      MT530.U008AU0002 = new SwiftTagSubItemDefinition("AccountNumber", "AccountNumber");
      MT530.U0088U0002.Elements.Add((SwiftDefinitionElement) MT530.U008AU0002);
      MT530.U0087U0002.Elements.Add((SwiftDefinitionElement) MT530.U0088U0002);
      MT530.U008BU0002 = new SwiftTagDefinition("Account_C_97B", "Account");
      MT530.U008BU0002.TagName = ":97B::";
      MT530.U008CU0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT530.U008BU0002.Elements.Add((SwiftDefinitionElement) MT530.U008CU0002);
      MT530.U008DU0002 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT530.U008BU0002.Elements.Add((SwiftDefinitionElement) MT530.U008DU0002);
      MT530.U008EU0002 = new SwiftTagSubItemDefinition("AccountTypeCode", "Account Type Code");
      MT530.U008BU0002.Elements.Add((SwiftDefinitionElement) MT530.U008EU0002);
      MT530.U008FU0002 = new SwiftTagSubItemDefinition("AccountNumber", "Account Number");
      MT530.U008BU0002.Elements.Add((SwiftDefinitionElement) MT530.U008FU0002);
      MT530.U0087U0002.Elements.Add((SwiftDefinitionElement) MT530.U008BU0002);
      MT530.U001DU0002.Elements.Add((SwiftDefinitionElement) MT530.U0087U0002);
      MT530.U0090U0002 = new SwiftTagDefinition("IdentificationOfFinancialInstrument_C_35B", "Identification Of Financial Instrument");
      MT530.U0090U0002.TagName = ":35B:";
      MT530.U0090U0002.Mandatory = false;
      MT530.U0091U0002 = new SwiftTagSubItemDefinition("IdentificationOfSecurity", "Identification Of Security");
      MT530.U0091U0002.Mandatory = false;
      MT530.U0092U0002 = new SwiftTagSubItemDefinition("IdentificationOfSecurity_1", "Identification Of Security");
      MT530.U0091U0002.Elements.Add((SwiftDefinitionElement) MT530.U0092U0002);
      MT530.U0090U0002.Elements.Add((SwiftDefinitionElement) MT530.U0091U0002);
      MT530.U0093U0002 = new SwiftTagSubItemDefinition("DescriptionOfSecurity", "Description Of Security");
      MT530.U0093U0002.Mandatory = false;
      MT530.U0090U0002.Elements.Add((SwiftDefinitionElement) MT530.U0093U0002);
      MT530.U001DU0002.Elements.Add((SwiftDefinitionElement) MT530.U0090U0002);
      MT530.U0094U0002 = new SwiftTagDefinition("QuantityOfFinancialInstrument_C_36B", "Quantity of Financial Instrument to be settled");
      MT530.U0094U0002.TagName = ":36B::";
      MT530.U0094U0002.Mandatory = false;
      MT530.U0095U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT530.U0094U0002.Elements.Add((SwiftDefinitionElement) MT530.U0095U0002);
      MT530.U0096U0002 = new SwiftTagSubItemDefinition("QuantityOfFinancialInstrument", "Quantity Type Code and Quantity");
      MT530.U0097U0002 = new SwiftTagSubItemDefinition("QuantityTypeCode", "Quantity Type Code");
      MT530.U0096U0002.Elements.Add((SwiftDefinitionElement) MT530.U0097U0002);
      MT530.U0098U0002 = new SwiftTagSubItemDefinition("Quantity", "Quantity");
      MT530.U0096U0002.Elements.Add((SwiftDefinitionElement) MT530.U0098U0002);
      MT530.U0094U0002.Elements.Add((SwiftDefinitionElement) MT530.U0096U0002);
      MT530.U001DU0002.Elements.Add((SwiftDefinitionElement) MT530.U0094U0002);
      MT530.U0099U0002 = new SwiftTagChoiceDefinition("Choice", "");
      MT530.U0099U0002.Mandatory = false;
      MT530.U0099U0002.Multiple = true;
      MT530.U009AU0002 = new SwiftTagDefinition("Date_C_98A", "Date/Time");
      MT530.U009AU0002.TagName = ":98A::";
      MT530.U009AU0002.Multiple = true;
      MT530.U009BU0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT530.U009AU0002.Elements.Add((SwiftDefinitionElement) MT530.U009BU0002);
      MT530.U009CU0002 = new SwiftTagSubItemDefinition("Date", "Date");
      MT530.U009AU0002.Elements.Add((SwiftDefinitionElement) MT530.U009CU0002);
      MT530.U0099U0002.Elements.Add((SwiftDefinitionElement) MT530.U009AU0002);
      MT530.U009DU0002 = new SwiftTagDefinition("DateTime_C_98C", "Date/Time");
      MT530.U009DU0002.TagName = ":98C::";
      MT530.U009DU0002.Multiple = true;
      MT530.U009EU0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT530.U009DU0002.Elements.Add((SwiftDefinitionElement) MT530.U009EU0002);
      MT530.U009FU0002 = new SwiftTagSubItemDefinition("DateTime", "Date Time");
      MT530.U0001U0003 = new SwiftTagSubItemDefinition("Date", "Date");
      MT530.U009FU0002.Elements.Add((SwiftDefinitionElement) MT530.U0001U0003);
      MT530.U0002U0003 = new SwiftTagSubItemDefinition("Time", "Time");
      MT530.U009FU0002.Elements.Add((SwiftDefinitionElement) MT530.U0002U0003);
      MT530.U009DU0002.Elements.Add((SwiftDefinitionElement) MT530.U009FU0002);
      MT530.U0099U0002.Elements.Add((SwiftDefinitionElement) MT530.U009DU0002);
      MT530.U001DU0002.Elements.Add((SwiftDefinitionElement) MT530.U0099U0002);
      MT530.U0003U0003 = new SwiftTagChoiceDefinition("Choice", "");
      MT530.U0003U0003.Mandatory = false;
      MT530.U0003U0003.Multiple = true;
      MT530.U0004U0003 = new SwiftTagDefinition("Party_C_95P", "Account Owner");
      MT530.U0004U0003.TagName = ":95P::";
      MT530.U0004U0003.Multiple = true;
      MT530.U0005U0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT530.U0004U0003.Elements.Add((SwiftDefinitionElement) MT530.U0005U0003);
      MT530.U0006U0003 = new SwiftTagSubItemDefinition("BankIdentifier", "Bank Identifier Code");
      MT530.U0004U0003.Elements.Add((SwiftDefinitionElement) MT530.U0006U0003);
      MT530.U0003U0003.Elements.Add((SwiftDefinitionElement) MT530.U0004U0003);
      MT530.U0007U0003 = new SwiftTagDefinition("Party_C_95Q", "Account Owner");
      MT530.U0007U0003.TagName = ":95Q::";
      MT530.U0007U0003.Multiple = true;
      MT530.U0008U0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT530.U0007U0003.Elements.Add((SwiftDefinitionElement) MT530.U0008U0003);
      MT530.U000EU0003 = new SwiftTagSubItemDefinition("NameAndAddress_95Q", "Name And Address");
      MT530.U0007U0003.Elements.Add((SwiftDefinitionElement) MT530.U000EU0003);
      MT530.U0003U0003.Elements.Add((SwiftDefinitionElement) MT530.U0007U0003);
      MT530.U000FU0003 = new SwiftTagDefinition("Party_C_95R", "Account Owner");
      MT530.U000FU0003.TagName = ":95R::";
      MT530.U000FU0003.Multiple = true;
      MT530.U0010U0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT530.U000FU0003.Elements.Add((SwiftDefinitionElement) MT530.U0010U0003);
      MT530.U0011U0003 = new SwiftTagSubItemDefinition("DataSourceSchemeType", "Data Source Scheme with a maximum of 8 characters");
      MT530.U000FU0003.Elements.Add((SwiftDefinitionElement) MT530.U0011U0003);
      MT530.U0012U0003 = new SwiftTagSubItemDefinition("ProprietaryCodeType", "Proprietary Code Type");
      MT530.U000FU0003.Elements.Add((SwiftDefinitionElement) MT530.U0012U0003);
      MT530.U0003U0003.Elements.Add((SwiftDefinitionElement) MT530.U000FU0003);
      MT530.U001DU0002.Elements.Add((SwiftDefinitionElement) MT530.U0003U0003);
      MT530.U0013U0003 = new SwiftTagDefinition("EndOfBlock_C_16S", "End of Block");
      MT530.U0013U0003.TagName = ":16S:ADDINFO";
      MT530.U0014U0003 = new SwiftTagSubItemDefinition("EndOfBlock", "End of Block");
      MT530.U0014U0003.Mandatory = false;
      MT530.U0013U0003.Elements.Add((SwiftDefinitionElement) MT530.U0014U0003);
      MT530.U001DU0002.Elements.Add((SwiftDefinitionElement) MT530.U0013U0003);
      MT530.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT530.U001DU0002);
    }

    public class SequenceAClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT530.U0002;
        }
      }

      [Description("Start of Block")]
      public Tag16R StartOfBlock_A_16R
      {
        get
        {
          return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT530.U0003);
        }
      }

      [Description("Start of Block")]
      public Tag16R Tag16R_StartOfBlock_A
      {
        get
        {
          return this.StartOfBlock_A_16R;
        }
      }

      [Description("Reference: Sender’s Message Reference")]
      public Tag20C Reference_A_20C
      {
        get
        {
          return new Tag20C((SwiftElement) this, 0, (SwiftDefinitionElement) MT530.U0005);
        }
      }

      [Description("Reference: Sender’s Message Reference")]
      public Tag20C Tag20C_Reference_A
      {
        get
        {
          return this.Reference_A_20C;
        }
      }

      [Description("Function Of The Message")]
      public Tag23G FunctionOfTheMessage_A_23G
      {
        get
        {
          return new Tag23G((SwiftElement) this, 0, (SwiftDefinitionElement) MT530.U0008);
        }
      }

      [Description("Function Of The Message")]
      public Tag23G Tag23G_FunctionOfTheMessage_A
      {
        get
        {
          return this.FunctionOfTheMessage_A_23G;
        }
      }

      [Description("Date/Time")]
      public Tag98A Date_A_98A
      {
        get
        {
          return new Tag98A((SwiftElement) this, 0, (SwiftDefinitionElement) MT530.U0012);
        }
      }

      [Description("Date/Time")]
      public Tag98A Tag98A_Date_A
      {
        get
        {
          return this.Date_A_98A;
        }
      }

      [Description("Date/Time")]
      public Tag98C DateTime_A_98C
      {
        get
        {
          return new Tag98C((SwiftElement) this, 0, (SwiftDefinitionElement) MT530.U0015);
        }
      }

      [Description("Date/Time")]
      public Tag98C Tag98C_DateTime_A
      {
        get
        {
          return this.DateTime_A_98C;
        }
      }

      [Description("Trade Date/Time")]
      public Tag98E DateTime_A_98E
      {
        get
        {
          return new Tag98E((SwiftElement) this, 0, (SwiftDefinitionElement) MT530.U001A);
        }
      }

      [Description("Trade Date/Time")]
      public Tag98E Tag98E_DateTime_A
      {
        get
        {
          return this.DateTime_A_98E;
        }
      }

      [Description("Account Owner")]
      public MT530.SequenceAClass.Tag95P Party_A_95P
      {
        get
        {
          return new MT530.SequenceAClass.Tag95P((SwiftElement) this, 0, (SwiftDefinitionElement) MT530.U0084);
        }
      }

      [Description("Account Owner")]
      public MT530.SequenceAClass.Tag95P Tag95P_Party_A
      {
        get
        {
          return this.Party_A_95P;
        }
      }

      [Description("Account Owner")]
      public MT530.SequenceAClass.Tag95R Party_A_95R
      {
        get
        {
          return new MT530.SequenceAClass.Tag95R((SwiftElement) this, 0, (SwiftDefinitionElement) MT530.U0088);
        }
      }

      [Description("Account Owner")]
      public MT530.SequenceAClass.Tag95R Tag95R_Party_A
      {
        get
        {
          return this.Party_A_95R;
        }
      }

      [Description("Account")]
      public Tag97A Account_A_97A
      {
        get
        {
          return new Tag97A((SwiftElement) this, 0, (SwiftDefinitionElement) MT530.U008D);
        }
      }

      [Description("Account")]
      public Tag97A Tag97A_Account_A
      {
        get
        {
          return this.Account_A_97A;
        }
      }

      [Description("Account")]
      public Tag97B Account_A_97B
      {
        get
        {
          return new Tag97B((SwiftElement) this, 0, (SwiftDefinitionElement) MT530.U0090);
        }
      }

      [Description("Account")]
      public Tag97B Tag97B_Account_A
      {
        get
        {
          return this.Account_A_97B;
        }
      }

      [Description("End of Block")]
      public Tag16S EndOfBlock_A_16S
      {
        get
        {
          return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT530.U0095);
        }
      }

      [Description("End of Block")]
      public Tag16S Tag16S_EndOfBlock_A
      {
        get
        {
          return this.EndOfBlock_A_16S;
        }
      }

      internal SequenceAClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }

      public class Tag95P : SwiftTagWrapper
      {
        public string Value
        {
          get
          {
            return this.GetValue();
          }
          set
          {
            this.SetValue("95P", value);
          }
        }

        internal Tag95P(SwiftElement parent, int index, SwiftDefinitionElement definition)
          : base(parent, index, definition)
        {
        }
      }

      public class Tag95R : SwiftTagWrapper
      {
        public string Value
        {
          get
          {
            return this.GetValue();
          }
          set
          {
            this.SetValue("95R", value);
          }
        }

        internal Tag95R(SwiftElement parent, int index, SwiftDefinitionElement definition)
          : base(parent, index, definition)
        {
        }
      }
    }

    public class SequenceBClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT530.U0097;
        }
      }

      [Description("Start Of Block")]
      public Tag16R StartOfBlock_B_16R
      {
        get
        {
          return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT530.U0098);
        }
      }

      [Description("Start Of Block")]
      public Tag16R Tag16R_StartOfBlock_B
      {
        get
        {
          return this.StartOfBlock_B_16R;
        }
      }

      [Description("Related Reference")]
      public Tag20C[] Reference_B_20C
      {
        get
        {
          int index = -1;
          List<Tag20C> list = new List<Tag20C>();
          int count;
          do
          {
            ++index;
            Tag20C tag20C = new Tag20C((SwiftElement) this, index, (SwiftDefinitionElement) MT530.U009A);
            count = this.ListTags((SwiftElement) tag20C).Count;
            if (count > 0)
              list.Add(tag20C);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Related Reference")]
      public Tag20C[] Tag20C_Reference_B
      {
        get
        {
          return this.Reference_B_20C;
        }
      }

      [Description("Indicator")]
      public Tag22F[] Indicator_B_22F
      {
        get
        {
          int index = -1;
          List<Tag22F> list = new List<Tag22F>();
          int count;
          do
          {
            ++index;
            Tag22F tag22F = new Tag22F((SwiftElement) this, index, (SwiftDefinitionElement) MT530.U009D);
            count = this.ListTags((SwiftElement) tag22F).Count;
            if (count > 0)
              list.Add(tag22F);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Indicator")]
      public Tag22F[] Tag22F_Indicator_B
      {
        get
        {
          return this.Indicator_B_22F;
        }
      }

      [Description("Linkages")]
      public MT530.SequenceBClass.SequenceB1Class[] SequenceB1
      {
        get
        {
          int index = -1;
          List<MT530.SequenceBClass.SequenceB1Class> list = new List<MT530.SequenceBClass.SequenceB1Class>();
          int count;
          do
          {
            ++index;
            MT530.SequenceBClass.SequenceB1Class sequenceB1Class = new MT530.SequenceBClass.SequenceB1Class((SwiftElement) this, index, false);
            count = this.ListTags((SwiftElement) sequenceB1Class).Count;
            if (count > 0)
              list.Add(sequenceB1Class);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("End of Block")]
      public Tag16S EndOfBlock_B_16S
      {
        get
        {
          return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT530.U001BU0002);
        }
      }

      [Description("End of Block")]
      public Tag16S Tag16S_EndOfBlock_B
      {
        get
        {
          return this.EndOfBlock_B_16S;
        }
      }

      internal SequenceBClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }

      public Tag20C AddReference_B_20C()
      {
        return new Tag20C((SwiftElement) this, this.Reference_B_20C.Length, (SwiftDefinitionElement) MT530.U009A)
        {
          Value = string.Empty
        };
      }

      public void RemoveReference_B_20C(Tag20C tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public Tag22F AddIndicator_B_22F()
      {
        return new Tag22F((SwiftElement) this, this.Indicator_B_22F.Length, (SwiftDefinitionElement) MT530.U009D)
        {
          Value = string.Empty
        };
      }

      public void RemoveIndicator_B_22F(Tag22F tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public MT530.SequenceBClass.SequenceB1Class AddSequenceB1()
      {
        return new MT530.SequenceBClass.SequenceB1Class((SwiftElement) this, this.SequenceB1.Length, true);
      }

      public void RemoveSequenceB1(MT530.SequenceBClass.SequenceB1Class sequence)
      {
        foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
          this.RemoveTag(tag);
      }

      public class SequenceB1Class : SwiftTagSequence
      {
        internal override SwiftDefinitionElement Definition
        {
          get
          {
            return (SwiftDefinitionElement) MT530.U0002U0002;
          }
        }

        [Description("Start Of Block")]
        public Tag16R StartOfBlock_B1_16R
        {
          get
          {
            return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT530.U0003U0002);
          }
        }

        [Description("Start Of Block")]
        public Tag16R Tag16R_StartOfBlock_B1
        {
          get
          {
            return this.StartOfBlock_B1_16R;
          }
        }

        [Description("Indicato : Linkage Type Indicator")]
        public Tag22F Indicator_B1_22F
        {
          get
          {
            return new Tag22F((SwiftElement) this, 0, (SwiftDefinitionElement) MT530.U0005U0002);
          }
        }

        [Description("Indicato : Linkage Type Indicator")]
        public Tag22F Tag22F_Indicator_B1
        {
          get
          {
            return this.Indicator_B1_22F;
          }
        }

        [Description("Linked Transaction")]
        public Tag13A NumberIdentification_B1_13A
        {
          get
          {
            return new Tag13A((SwiftElement) this, 0, (SwiftDefinitionElement) MT530.U000FU0002);
          }
        }

        [Description("Linked Transaction")]
        public Tag13A Tag13A_NumberIdentification_B1
        {
          get
          {
            return this.NumberIdentification_B1_13A;
          }
        }

        [Description("Linked Transaction")]
        public Tag13B NumberIdentification_B1_13B
        {
          get
          {
            return new Tag13B((SwiftElement) this, 0, (SwiftDefinitionElement) MT530.U0012U0002);
          }
        }

        [Description("Linked Transaction")]
        public Tag13B Tag13B_NumberIdentification_B1
        {
          get
          {
            return this.NumberIdentification_B1_13B;
          }
        }

        [Description("Related Reference")]
        public Tag20C Reference_B1_20C
        {
          get
          {
            return new Tag20C((SwiftElement) this, 0, (SwiftDefinitionElement) MT530.U0016U0002);
          }
        }

        [Description("Related Reference")]
        public Tag20C Tag20C_Reference_B1
        {
          get
          {
            return this.Reference_B1_20C;
          }
        }

        [Description("End of Block")]
        public Tag16S EndOfBlock_B1_16S
        {
          get
          {
            return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT530.U0019U0002);
          }
        }

        [Description("End of Block")]
        public Tag16S Tag16S_EndOfBlock_B1
        {
          get
          {
            return this.EndOfBlock_B1_16S;
          }
        }

        internal SequenceB1Class(SwiftElement parent, int index, bool createTags)
          : base(parent, index, createTags)
        {
        }
      }
    }

    public class SequenceCClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT530.U001DU0002;
        }
      }

      [Description("Start of Block")]
      public Tag16R StartOfBlock_C_16R
      {
        get
        {
          return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT530.U001EU0002);
        }
      }

      [Description("Start of Block")]
      public Tag16R Tag16R_StartOfBlock_C
      {
        get
        {
          return this.StartOfBlock_C_16R;
        }
      }

      [Description("Account Owner Transaction Identification")]
      public Tag20C Reference_C_20C
      {
        get
        {
          return new Tag20C((SwiftElement) this, 0, (SwiftDefinitionElement) MT530.U007FU0002);
        }
      }

      [Description("Account Owner Transaction Identification")]
      public Tag20C Tag20C_Reference_C
      {
        get
        {
          return this.Reference_C_20C;
        }
      }

      [Description("Type Of Financial Instrument")]
      public MT530.SequenceCClass.Tag12A TypeOfFinancialInstrument_C_12A
      {
        get
        {
          return new MT530.SequenceCClass.Tag12A((SwiftElement) this, 0, (SwiftDefinitionElement) MT530.U0082U0002);
        }
      }

      [Description("Type Of Financial Instrument")]
      public MT530.SequenceCClass.Tag12A Tag12A_TypeOfFinancialInstrument_C
      {
        get
        {
          return this.TypeOfFinancialInstrument_C_12A;
        }
      }

      [Description("Account")]
      public Tag97A Account_C_97A
      {
        get
        {
          return new Tag97A((SwiftElement) this, 0, (SwiftDefinitionElement) MT530.U0088U0002);
        }
      }

      [Description("Account")]
      public Tag97A Tag97A_Account_C
      {
        get
        {
          return this.Account_C_97A;
        }
      }

      [Description("Account")]
      public Tag97B Account_C_97B
      {
        get
        {
          return new Tag97B((SwiftElement) this, 0, (SwiftDefinitionElement) MT530.U008BU0002);
        }
      }

      [Description("Account")]
      public Tag97B Tag97B_Account_C
      {
        get
        {
          return this.Account_C_97B;
        }
      }

      [Description("Identification Of Financial Instrument")]
      public Tag35B IdentificationOfFinancialInstrument_C_35B
      {
        get
        {
          return new Tag35B((SwiftElement) this, 0, (SwiftDefinitionElement) MT530.U0090U0002);
        }
      }

      [Description("Identification Of Financial Instrument")]
      public Tag35B Tag35B_IdentificationOfFinancialInstrument_C
      {
        get
        {
          return this.IdentificationOfFinancialInstrument_C_35B;
        }
      }

      [Description("Quantity of Financial Instrument to be settled")]
      public Tag36B QuantityOfFinancialInstrument_C_36B
      {
        get
        {
          return new Tag36B((SwiftElement) this, 0, (SwiftDefinitionElement) MT530.U0094U0002);
        }
      }

      [Description("Quantity of Financial Instrument to be settled")]
      public Tag36B Tag36B_QuantityOfFinancialInstrument_C
      {
        get
        {
          return this.QuantityOfFinancialInstrument_C_36B;
        }
      }

      [Description("Date/Time")]
      public Tag98A[] Date_C_98A
      {
        get
        {
          int index = -1;
          List<Tag98A> list = new List<Tag98A>();
          int count;
          do
          {
            ++index;
            Tag98A tag98A = new Tag98A((SwiftElement) this, index, (SwiftDefinitionElement) MT530.U009AU0002);
            count = this.ListTags((SwiftElement) tag98A).Count;
            if (count > 0)
              list.Add(tag98A);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Date/Time")]
      public Tag98A[] Tag98A_Date_C
      {
        get
        {
          return this.Date_C_98A;
        }
      }

      [Description("Date/Time")]
      public Tag98C[] DateTime_C_98C
      {
        get
        {
          int index = -1;
          List<Tag98C> list = new List<Tag98C>();
          int count;
          do
          {
            ++index;
            Tag98C tag98C = new Tag98C((SwiftElement) this, index, (SwiftDefinitionElement) MT530.U009DU0002);
            count = this.ListTags((SwiftElement) tag98C).Count;
            if (count > 0)
              list.Add(tag98C);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Date/Time")]
      public Tag98C[] Tag98C_DateTime_C
      {
        get
        {
          return this.DateTime_C_98C;
        }
      }

      [Description("Account Owner")]
      public MT530.SequenceCClass.Tag95P[] Party_C_95P
      {
        get
        {
          int index = -1;
          List<MT530.SequenceCClass.Tag95P> list = new List<MT530.SequenceCClass.Tag95P>();
          int count;
          do
          {
            ++index;
            MT530.SequenceCClass.Tag95P tag95P = new MT530.SequenceCClass.Tag95P((SwiftElement) this, index, (SwiftDefinitionElement) MT530.U0004U0003);
            count = this.ListTags((SwiftElement) tag95P).Count;
            if (count > 0)
              list.Add(tag95P);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Account Owner")]
      public MT530.SequenceCClass.Tag95P[] Tag95P_Party_C
      {
        get
        {
          return this.Party_C_95P;
        }
      }

      [Description("Account Owner")]
      public Tag95Q[] Party_C_95Q
      {
        get
        {
          int index = -1;
          List<Tag95Q> list = new List<Tag95Q>();
          int count;
          do
          {
            ++index;
            Tag95Q tag95Q = new Tag95Q((SwiftElement) this, index, (SwiftDefinitionElement) MT530.U0007U0003);
            count = this.ListTags((SwiftElement) tag95Q).Count;
            if (count > 0)
              list.Add(tag95Q);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Account Owner")]
      public Tag95Q[] Tag95Q_Party_C
      {
        get
        {
          return this.Party_C_95Q;
        }
      }

      [Description("Account Owner")]
      public MT530.SequenceCClass.Tag95R[] Party_C_95R
      {
        get
        {
          int index = -1;
          List<MT530.SequenceCClass.Tag95R> list = new List<MT530.SequenceCClass.Tag95R>();
          int count;
          do
          {
            ++index;
            MT530.SequenceCClass.Tag95R tag95R = new MT530.SequenceCClass.Tag95R((SwiftElement) this, index, (SwiftDefinitionElement) MT530.U000FU0003);
            count = this.ListTags((SwiftElement) tag95R).Count;
            if (count > 0)
              list.Add(tag95R);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Account Owner")]
      public MT530.SequenceCClass.Tag95R[] Tag95R_Party_C
      {
        get
        {
          return this.Party_C_95R;
        }
      }

      [Description("End of Block")]
      public Tag16S EndOfBlock_C_16S
      {
        get
        {
          return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT530.U0013U0003);
        }
      }

      [Description("End of Block")]
      public Tag16S Tag16S_EndOfBlock_C
      {
        get
        {
          return this.EndOfBlock_C_16S;
        }
      }

      internal SequenceCClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }

      public Tag98A AddDate_C_98A()
      {
        return new Tag98A((SwiftElement) this, this.Date_C_98A.Length, (SwiftDefinitionElement) MT530.U009AU0002)
        {
          Value = string.Empty
        };
      }

      public void RemoveDate_C_98A(Tag98A tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public Tag98C AddDateTime_C_98C()
      {
        return new Tag98C((SwiftElement) this, this.DateTime_C_98C.Length, (SwiftDefinitionElement) MT530.U009DU0002)
        {
          Value = string.Empty
        };
      }

      public void RemoveDateTime_C_98C(Tag98C tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public MT530.SequenceCClass.Tag95P AddParty_C_95P()
      {
        return new MT530.SequenceCClass.Tag95P((SwiftElement) this, this.Party_C_95P.Length, (SwiftDefinitionElement) MT530.U0004U0003)
        {
          Value = string.Empty
        };
      }

      public void RemoveParty_C_95P(MT530.SequenceCClass.Tag95P tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public Tag95Q AddParty_C_95Q()
      {
        return new Tag95Q((SwiftElement) this, this.Party_C_95Q.Length, (SwiftDefinitionElement) MT530.U0007U0003)
        {
          Value = string.Empty
        };
      }

      public void RemoveParty_C_95Q(Tag95Q tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public MT530.SequenceCClass.Tag95R AddParty_C_95R()
      {
        return new MT530.SequenceCClass.Tag95R((SwiftElement) this, this.Party_C_95R.Length, (SwiftDefinitionElement) MT530.U000FU0003)
        {
          Value = string.Empty
        };
      }

      public void RemoveParty_C_95R(MT530.SequenceCClass.Tag95R tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public class Tag12A : SwiftTagWrapper
      {
        public string Value
        {
          get
          {
            return this.GetValue();
          }
          set
          {
            this.SetValue("12A", value);
          }
        }

        internal Tag12A(SwiftElement parent, int index, SwiftDefinitionElement definition)
          : base(parent, index, definition)
        {
        }
      }

      public class Tag95P : SwiftTagWrapper
      {
        public string Value
        {
          get
          {
            return this.GetValue();
          }
          set
          {
            this.SetValue("95P", value);
          }
        }

        internal Tag95P(SwiftElement parent, int index, SwiftDefinitionElement definition)
          : base(parent, index, definition)
        {
        }
      }

      public class Tag95R : SwiftTagWrapper
      {
        public string Value
        {
          get
          {
            return this.GetValue();
          }
          set
          {
            this.SetValue("95R", value);
          }
        }

        internal Tag95R(SwiftElement parent, int index, SwiftDefinitionElement definition)
          : base(parent, index, definition)
        {
        }
      }
    }
  }
}
